// 登陆模块
import cModuleMgr from "../SuperMgr/cModuleMgr"
import cEnumMds from "../Enum/cEnumMds"
import cEnumPab from "../Enum/cEnumPab"
export default class jymtLoadingModule extends cModuleMgr {
    constructor(){
        super(cEnumMds.jymtLoadingModule);
        this.landscapescreen();
        this.settingnode(1);
        this.setSpanel(cEnumPab.jymtLoading);
    }

    //关闭效果
    public closeEffect(cb){
        let face = cc.fadeOut(1);
        let call = cc.callFunc(cb);
        let list = cc.sequence(face,call);
        this.onself.runAction(list);
    }

   //扩展项
    protected extendClose():void{
        this.clearScripts();
    }
}